<?php
switch($_GET['act']){

case "album":require("controllers/news/view_album.php");
break;
case "list_album":require("controllers/news/list_album.php");
break;
case "category":require("controllers/news/list_category.php");
break;

case "type":require("controllers/news/list_type.php");
break;
case "view":
require("controllers/news/views.php");
break;

case "viewpage":
require("controllers/news/page.php");
break;



case "list": if(isset($_GET['cat'])){

	require("controllers/news/list_news_cat.php");

	}

	else 

	if(isset($_GET['sub'])){

	require("controllers/news/list_news_sub.php");

	}else

	if(isset($_GET['maincat'])){

	require("controllers/news/list_news_main_cat.php");

	}

	else{

	require("controllers/news/list_news.php");

	}

	break;

}



?>